﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Class1
    {
        public String Name;
        public int gong;
        public int fang;
        public int su;

        public Class1(String Name, int gong, int fang, int su)
        {
            this.Name = Name;
            this.gong = gong;
            this.fang = fang;
            this.su = su;

        }
    }
    class a : Class1
    {
        public String Name;
        public int gong;
        public int fang;
        public int su;
        public String sui;
        public String lei;
        public String zhan;

        public a(String Name, int gong, int fang, int su, String sui, String lei, String zhan) : base(Name, gong, fang, su)
        {
            this.Name = Name;
            this.gong = gong;
            this.fang = fang;
            this.su = su;
            this.sui = sui;
            this.lei = lei;
            this.zhan = zhan;
        }
        public void A1()
        {
            Console.WriteLine("英雄是{0},攻击力为{1},防御力{2},速度是{3},技能1是{4},技能二是{5},技能三是{6}", this.Name, this.gong, this.fang, this.su, this.sui, this.lei, this.zhan);

        }
    }
    class b : Class1
    {
        public String Name;
        public int gong;
        public int fang;
        public int su;
        public String sui;
        public String lei;
        public String zhan;

        public b(String Name, int gong, int fang, int su, String sui, String lei, String zhan) : base(Name, gong, fang, su)
        {
            this.Name = Name;
            this.gong = gong;
            this.fang = fang;
            this.su = su;
            this.sui = sui;
            this.lei = lei;
            this.zhan = zhan;
        }
        public void B1()
        {
            Console.WriteLine("英雄是{0},攻击力为{1},防御力{2},速度是{3},技能1是{4},技能二是{5},技能三是{6}", this.Name, this.gong, this.fang, this.su, this.sui, this.lei, this.zhan);

        }

    }
    class c : Class1
    {
        public String Name;
        public int gong;
        public int fang;
        public int su;
        public String sui;
        public String lei;
        public String zhan;

        public c(String Name, int gong, int fang, int su, String sui, String lei, String zhan) : base(Name, gong, fang, su)
        {
            this.Name = Name;
            this.gong = gong;
            this.fang = fang;
            this.su = su;
            this.sui = sui;
            this.lei = lei;
            this.zhan = zhan;
        }
        public void C1()
        {
            Console.WriteLine("英雄是{0},攻击力为{1},防御力{2},速度是{3},技能1是{4},技能二是{5},技能三是{6}", this.Name, this.gong, this.fang, this.su, this.sui, this.lei, this.zhan);
        }
    }
    class d : Class1
    {
        public String Name;
        public int gong;
        public int fang;
        public int su;
        public String sui;
        public String lei;
        public String zhan;

        public d(String Name, int gong, int fang, int su, String sui, String lei, String zhan) : base(Name, gong, fang, su)
        {
            this.Name = Name;
            this.gong = gong;
            this.fang = fang;
            this.su = su;
            this.sui = sui;
            this.lei = lei;
            this.zhan = zhan;

        }
        public void Dl()
        {
            Console.WriteLine("英雄是{0},攻击力为{1},防御力{2},速度是{3},技能1是{4},技能二是{5},技能三是{6}", this.Name, this.gong, this.fang, this.su, this.sui, this.lei, this.zhan);
        }
    }
}
